home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmRegister
- Caption = "Register"
- ClientHeight = 3324
- ClientLeft = 60
- ClientTop = 348
- ClientWidth = 5976
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3324
- ScaleWidth = 5976
- StartUpPosition = 2 'CenterScreen
- Begin VB.CommandButton cmdExit
- Caption = "E&xit"
- Height = 375
- Left = 4230
- TabIndex = 9
- Top = 2790
- Width = 1215
- End
- Begin VB.Frame Frame2
- Caption = "Evaluation"
- Height = 1215
- Left = 240
- TabIndex = 4
- Top = 1440
- Width = 5415
- Begin VB.CommandButton cmdContinue
- Caption = "&Continue"
- Height = 375
- Index = 1
- Left = 3960
- TabIndex = 8
- Top = 720
- Width = 1215
- End
- Begin VB.TextBox Text2
- BackColor = &H8000000A&
- BorderStyle = 0 'None
- Height = 285
- Index = 1
- Left = 240
- TabIndex = 7
- TabStop = 0 'False
- Text = "Howevr, the major features will not be available."
- Top = 720
- Width = 3615
- End
- Begin VB.CommandButton Command1
- Caption = "&Continue"
- Height = 375
- Index = 2
- Left = 3960
- TabIndex = 6
- Top = 1320
- Width = 1215
- End
- Begin VB.TextBox Text2
- BackColor = &H8000000A&
- BorderStyle = 0 'None
- Height = 285
- Index = 0
- Left = 240
- TabIndex = 5
- TabStop = 0 'False
- Text = "You may continue to run this porduct without full registration."
- Top = 360
- Width = 4935
- End
- End
- Begin VB.Frame Frame1
- Caption = "Registration"
- Height = 1095
- Left = 270
- TabIndex = 0
- Top = 120
- Width = 5415
- Begin VB.CommandButton cmdRegister
- Caption = "&Register..."
- Height = 375
- Index = 0
- Left = 3950
- TabIndex = 3
- Top = 600
- Width = 1215
- End
- Begin VB.TextBox Text1
- BackColor = &H8000000A&
- BorderStyle = 0 'None
- Height = 255
- Index = 1
- Left = 240
- MultiLine = -1 'True
- TabIndex = 2
- TabStop = 0 'False
- Text = "frmRegister.frx":0000
- Top = 720
- Width = 3615
- End
- Begin VB.TextBox Text1
- BackColor = &H8000000A&
- BorderStyle = 0 'None
- Height = 255
- Index = 0
- Left = 240
- MultiLine = -1 'True
- TabIndex = 1
- TabStop = 0 'False
- Text = "frmRegister.frx":0034
- Top = 360
- Width = 3375
- End
- End
- Attribute VB_Name = "frmRegister"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private m_nRegisterState As Integer
- Private Sub cmdRegister_Click(Index As Integer)
- frmLicence.Show 1
- If (frmLicence.IsLicenceOK() = True) Then
- Unload Me
- m_nRegisterState = LICENCE_FULL
- End If
- End Sub
- Private Sub cmdContinue_Click(Index As Integer)
- m_nRegisterState = LICENCE_DEMO
- Unload Me
- End Sub
- Private Sub cmdExit_Click()
- m_nRegisterState = LICENCE_EXIT
- Unload Me
- End Sub
- Public Function GetRegisterState() As Integer
- GetRegisterState = m_nRegisterState
- End Function
-